package com.xxxx.seckill.vo;

import com.xxxx.seckill.validator.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @ClassName: LoginVo
 * @Title: seckill
 * @Package: com.xxxx.seckill.vo
 * @Description: 登录参数
 * @Author: Kisen
 * @Date: 2021/3/6 15:14
 */
@Data
public class LoginVo {

    @NotNull
    @IsMobile
    private String mobile;

    @NotNull
    @Length(min = 32)
    private String password;
}
